package com.wwj.server.notify.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.model.NetBaseMsg;
import com.wwj.server.notify.common.MsgConstants;

/**
 * Created by xya on 17-11-17.
 */
public class NotifyServerHeartbeatMsg extends NetBaseMsg {

    private String type = MsgConstants.NOTIFY_SERVER_HEARTBEAT;

    @SerializedName("server_name")
    private String serverName;

    public NotifyServerHeartbeatMsg(String serverName) {
        this.serverName = serverName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
}
